:root {
  --primary-bg: #27a39b;
  --text-white: #ffffff;
  --text-dark: #0a3442;
  --text-muted: #666;
  --text-hover: #dcdcdc;
  --gradient-start: #d95eff;
  --gradient-end: #5e8bff;
  --heading-color: #0A3442;
  --shadow-color: rgba(0, 0, 0, 0.2);
  --bg-light: #eafaf8;
  --card-bg: linear-gradient(180deg, #dff6f3, #038378);
  --radius: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Zain', sans-serif;
}

body {
  background-color: #ffffff;
  direction: rtl;
}

.hero {
  padding: 20px;
  color: var(--text-white);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  height: 50px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: var(--text-white);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar .nav-links li a {
  color: #093443 ;
  font-weight: 500;
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-links li a {
  color: #093443 ;
}

.nav-links li a:hover {
  color: #33A5A0 ;
}

.nav-links li a:hover {
  color: #33A5A0;
  text-decoration: none;
  border-bottom: none;
}

.menu-toggle {
  display: none;
  font-size: 38px;
  background: none;
  color: var(--heading-color);
  border: none;
  cursor: pointer;
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 101;
}

.cta-button {
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  border: none;
  padding: 10px 20px;
  border-radius: 15px;
  color: var(--text-white);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: white !important;
  color: var(--gradient-start);
  border: 1px solid var(--gradient-start);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0;
  flex-wrap: wrap;
}

.hero-text {
  color: var(--text-white);
  max-width: 40%;
}

.hero-text h1 {
  color: var(--heading-color);
  font-size: 3.5rem;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.5rem;
  line-height: 1.8;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-image {
  margin-top: 0;
  padding: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
      flex-direction: column;
      align-items: flex-start;
      position: relative;
  }

  .menu-toggle {
      display: block;
  }

  .nav-links {
      display: none;
      flex-direction: column;
      background-color: var(--navbar-bg);
      width: 100%;
      padding: 15px 20px;
      border-radius: 8px;
      box-shadow: 0 4px 10px var(--shadow-color);
      margin-top: 10px;
  }

  .nav-links.show {
      display: flex;
  }

  .nav-links li {
      margin: 10px 0;
  }

  .cta-button {
      margin-top: 10px;
      align-self: center;
      font-size: 1rem;
      width: 50%;
      text-align: center;
      padding: 12px;
      border-radius: 15px;
  }
}

.certificte-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background-color: var(--primary-bg);
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px var(--shadow-color);
  margin: 45px auto 20px;
  max-width: 1300px;
  height: auto;
  color: var(--text-white);
  text-align: center;
  flex-wrap: wrap;
}

.certificte-header h2 {
  margin: 0;
  font-size: 2rem;
  color: var(--text-white);
}

.certificte-header img {
  width: 50px;
  height: 50px;
}

.certificate-inquiry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 20px;
  flex-wrap: wrap;
}

.inquiry-image img {
  width: 100%;
  max-width: 450px;
  height: auto;
  object-fit: contain;
}

.inquiry-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: right;
  max-width: 500px;
  margin: 0;
  padding: 10px;
}

.inquiry-title {
  color: #0A3442;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 25px;
  line-height: 1.6;
}

.inquiry-form {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 100%;
  flex-wrap: wrap;
}

.inquiry-form input {
  flex: 1;
  padding: 12px;
  border: 2px solid #33A5A0;
  border-radius: 8px;
  font-size: 16px;
  min-width: 200px;
}

.inquiry-form button {
  padding: 12px 24px;
  background-color: #33A5A0;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.inquiry-form button:hover {
  background-color: #2b8d89;
}

/* Responsive for Tablets and Mobile */
@media (max-width: 991px) {
  .certificte-header {
    flex-direction: column;
    gap: 10px;
    height: auto;
    padding: 15px;
  }

  .certificte-header h2 {
    font-size: 28px;
  }

  .certificate-inquiry {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .inquiry-content {
    align-items: center;
    text-align: center;
  }

  .inquiry-title {
    font-size: 22px;
  }

  .inquiry-form {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .certificte-header h2 {
    font-size: 22px;
  }

  .certificte-header img {
    width: 50px;
    height: 50px;
  }

  .inquiry-title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .inquiry-form {
    flex-direction: column;
    gap: 15px;
  }

  .inquiry-form input,
  .inquiry-form button {
    width: 100%;
    font-size: 15px;
  }

  .inquiry-content {
    padding: 0 10px;
  }
}


/* Footer */
footer {
  width: 100%;
  background-color: #0e3e46;
  color: white;
  padding: 40px 0 0;
  box-sizing: border-box;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 220px;
}

.footer-column h3 {
  color: #3db8a9;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.footer-column p,
.footer-column a {
  font-size: 0.95rem;
  color: white;
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
}

.footer-column a:hover {
  text-decoration: none;
  color: orange;
}

.footer-logo-text {
  font-size: 0.95rem;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.section .icon {
  width: 80px;
  height: 80px;
}

.social-icons img {
  width: 30px;
  height: 30px;
}

.footer-bottom {
  background-color: #36b7a9;
  color: #fff;
  padding: 10px 20px;
  font-size: 0.9rem;
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.footer-left, .footer-right {
  display: flex;
  align-items: center;
}

.footer-left {
  justify-content: flex-start;
}

.footer-right {
  justify-content: flex-end;
}

.footer-bottom a {
  color: orange;
  font-weight: bold;
  text-decoration: none;
}

.social-icons img:hover {
  border-radius: 50%;
  background-color: #038378;
}

.footer-column i {
  margin-left: 8px;
  color: #3db8a9;
  transition: color 0.3s ease;
}

.footer-column a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #FFC300;
  text-decoration: none;
}

@media (max-width: 768px) {
  .footer-top {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .footer-column {
      min-width: 100%;
  }

  .social-icons {
      justify-content: center;
  }
}
